package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 合同付费列对象 sys_contract_pay_label
 *
 * @author ruoyi
 * @date 2025-06-17
 */
public class SysContractPayLabel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 合同主键 */
    @Excel(name = "合同主键")
    private Long contractId;

    /** 支付类型 */
    @Excel(name = "支付类型")
    private Long payType;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private Long payMethod;

    /** Pos单号 */
    @Excel(name = "Pos单号")
    private String posNo;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal payMoney;

    /** 是否支付 */
    @Excel(name = "是否支付")
    private Long isPay;

    public Long getIsPay() {
        return isPay;
    }

    public void setIsPay(Long isPay) {
        this.isPay = isPay;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setContractId(Long contractId)
    {
        this.contractId = contractId;
    }

    public Long getContractId()
    {
        return contractId;
    }

    public void setPayType(Long payType)
    {
        this.payType = payType;
    }

    public Long getPayType()
    {
        return payType;
    }

    public void setPayMethod(Long payMethod)
    {
        this.payMethod = payMethod;
    }

    public Long getPayMethod()
    {
        return payMethod;
    }

    public void setPosNo(String posNo)
    {
        this.posNo = posNo;
    }

    public String getPosNo()
    {
        return posNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("contractId", getContractId())
                .append("payType", getPayType())
                .append("payMethod", getPayMethod())
                .append("posNo", getPosNo())
                .toString();
    }
}